Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add context and mounted check to _handleControllerChanged #48

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

burhanaksendir
Copy link
Contributor

This commit addresses a potential issue in the _handleControllerChanged function by adding a check for widget mounted status. The modification ensures that the animation is only triggered when the widget is still part of the widget tree, preventing errors that may arise when attempting to manipulate the animation on an unmounted widget.

This commit addresses a potential issue in the _handleControllerChanged function by adding a check for widget mounted status. The modification ensures that the animation is only triggered when the widget is still part of the widget tree, preventing errors that may arise when attempting to manipulate the animation on an unmounted widget.
@alex-melnyk alex-melnyk merged commit 3e47a1a into alex-melnyk:master Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants